package lagou.user.server.lagouuser.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "EMAILSERVER")
public interface EmailServiceFeignClient {

    @GetMapping("/verifyCode")
    String verifyCode(@RequestParam("sendUser")String email, @RequestParam("verifyCode")String verifyCode);
}
